home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 102 / CD-ROM 102.iso / aplic / 2sync / 2SyncSetup.exe / graphics / scripts / DefineButton2_187 / BUTTONCONDACTION on(release).as < prev    next >
Encoding:
Text File  |  2002-03-20  |  447 b   |  18 lines

  1. on(release){
  2.    set("_level40/sound/lib:sound","108");
  3.    call("_level40/sound/lib:play");
  4.    tellTarget("_level50")
  5.    {
  6.       gotoAndStop("off");
  7.    }
  8.    gotoAndStop(1);
  9.    if(eval("_level0:" add eval("_level0:focus") add "_module") eq "mt")
  10.    {
  11.       path = "_level15/" add _name.substr("1","2") add "/mt/codelib";
  12.       if(eval(path add ":currentview") ne "week")
  13.       {
  14.          call(path add ":view week");
  15.       }
  16.    }
  17. }
  18.